#include <memory>
#include <iostream>
#include <vector>
using namespace std;

void test(){
vector<unique_ptr<int>> vec;

unique_ptr<int> up1(new int(12));
unique_ptr<int> up2(new int(13));
vec.push_back(std::move(up1));
vec.push_back(std::move(up2));

for(auto &ele: vec){
    cout<<*ele<<endl;
}
}
int main(int argc, char * argv[]){
    test();
    return 0;
}

